import *  as types from "./mutations-types"

export default {
	[types.SET_COMMENT_QUERY_PARAMS](state, payload) {
		state.commentQueryParams.webPage =payload.webPage;
		state.commentQueryParams.belongId=payload.belongId;
	},

  [types.SET_PARENT_COMMENT_ID](state, payload) {
    state.parentCommentId=payload;
  },

  [types.SET_PARENT_COMMENT](state, payload) {
    state.parentComment.id=payload.id;
    state.parentComment.nickname=payload.nickname;
  }
}
